package cn.bone.ou.vote.mapper;

import cn.bone.ou.vote.bean.VoteOption;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VoteOptionMapper extends BaseMapper<VoteOption> {

    /**根据投票id删除*/
    int delteByVoteId(@Param("voteId")Integer voteId);

    List<VoteOption> list(@Param("itemId")Integer itemId);
}
